﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.SessionState;
using System.Drawing;
using System.Drawing.Imaging;
using Library.Components;


namespace LinkCard.CustomerView
{
    public partial class MakeImage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SecurityImage ci = new SecurityImage(this.Session["SecuritySession"].ToString(), 200, 50, "Tahoma");

            this.Response.Clear();
            this.Response.ContentType = "image/gif";

            ci.Image.Save(this.Response.OutputStream, ImageFormat.Gif);

            ci.Dispose();
        }
    }
}